package com.ssy.lingxi.after.sale.api.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 公共idVO
 * @author 伍将
 * @date 2020/11/16
 * @version 2.0.0
 */
public class CommonIdVO implements Serializable {
    private static final long serialVersionUID = -7296865713940502810L;

    /**
     * 数据id
     */
    @NotNull(message = "数据id要大于0")
    @Positive(message = "数据id要大于0")
    private Long dataId;

    public Long getDataId() {
        return dataId;
    }

    public void setDataId(Long dataId) {
        this.dataId = dataId;
    }
}
